
$(function(){
	/*-----------------*/
    var _box_y = $("#zc-form-box").offset().top; 
	$(window).scroll(function(){ 
      if($(window).scrollTop() > _box_y){ 
           $("#zc-form-box").attr("style","position: fixed;top:0px; z-index:99;"); 
          }else{ 
              $("#zc-form-box").attr("style",""); 
               } 
    }) 
	/*-----------------*/
	var _box_y2 = $("#zc-listmain-leftchoose").offset().top -100; 
	$(window).scroll(function(){ 
      if($(window).scrollTop() > _box_y2){ 
           $("#zc-listmain-leftchoose").attr("style","position: fixed;top:128px; margin:0;z-index:99;"); 
          }else{ 
              $("#zc-listmain-leftchoose").attr("style",""); 
               } 
    }) 
	/*-----------------*/
	var _box_y3 = $("#right_tab").offset().top ; 
	$(window).scroll(function(){ 
      if($(window).scrollTop() > _box_y3){ 
           $("#right_tab").attr("style","position: fixed;top:112px; z-index:99;"); 
          }else{ 
              $("#right_tab").attr("style",""); 
               } 
    }) 
})
function changeCarTy($key){
   
		$('#'+ $key).css("color","#ff8650");
}